import request from '@/utils/request'

/**
 * 获取商机列表
 * @param {*} params
 * @returns
 */
export const getComMerceFirst = (params) => {
  return request({
    url: '/business/list',
    params
  })
}

/**
 * 新增
 * @param {*} data
 * @returns
 */
export const getcomMerceOpportunity = (data) => {
  return request({
    url: '/business',
    method: 'POST',
    data
  })
}
